package com.zae.session;

import com.zae.pojo.Configuration;
import com.zae.pojo.MapperStatement;

import java.util.List;

public interface Executor {
    /**
     * jdbc处理方法
     * @param configuration
     * @param mapperStatement
     * @param params
     * @param <E>
     * @return
     */
   <E> List<E> execute(Configuration configuration, MapperStatement mapperStatement, Object ...params) throws Exception;
}
